package com.bw.base.constants

object ApiConst {
    const val BASE_URL = "http://10.161.9.80:2207"
    const val PARAM_TOKEN = "token"
    const val PARAM_ACCESS_ID = "accessId"

    //登录相关
    const val URL_LOGIN = "/api/user/login"
    const val URL_REGISTER = "/api/user/register"

    //公告相关
    const val URL_GET_CEMENTS = "/api/announcements"
    const val URL_GET_CEMENTS_BY_UID = "/api/announcements/getAnnouncementByUserId"


    //消息相关
    const val URL_GET_MESSAGE = "/api/messages"

    //停车缴费相关
    const val URL_GET_PARKING_PAY = "/api/parking-payments"

    //车位相关
    const val URL_GET_CAR_PACK_BY_AREA = "/api/parking-spaces/area/{areaId}"
    const val URL_POST_ADD_PACK = "/api/parking-spaces"
    const val URL_DELETE_PACK = "/api/parking-spaces/{id}"

    //巡逻相关
    const val URL_GET_PATROL = "/api/inspection-orders"

    //管理设备
    const val URL_GET_DEVICE = "/api/devices"

    //巡检相关
    const val URL_GET_PALLING = "/api/patrol-points"

    //访客相关
    const val URL_GET_VISITOR = "/api/visit-appointments"

    //月卡相关
    const val URL_GET_MEMBER = "/memberships/{userId}"

}